package com.ccys.cms.service.inventory.impl;


import com.ccys.cms.service.inventory.StaffPurchaseDetailService;
import com.ccys.cms.service.inventory.StaffPurchaseService;
import com.ccys.db.entity.TblStaffPurchaseDetail;
import com.ccys.db.mapper.TblStaffPurchaseDetailMapper;
import com.ccys.db.rely.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StaffPurchaseDetailServiceImpl extends BaseServiceImpl<TblStaffPurchaseDetail> implements StaffPurchaseDetailService {

    @Resource
    private TblStaffPurchaseDetailMapper mapper;

    @Override
    public void deleteDetail(String staffPurchaseId) {
        mapper.deleteDetail(staffPurchaseId);
    }
}
